<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {if condition="$fid neq 0"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">父级标签:</label>
        <div class="col-xs-12 col-sm-8" style="  margin-top: 9px;">
            <span>{$res.mark_info}</span>
        </div>
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">标签标题:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fid" class="form-control" name="fid" type="hidden" value="{$fid}">
            <input id="c-mark_info" class="form-control" name="mark_info" type="text">
        </div>
    </div>
    {if condition="$fid eq 0 "}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">标签类型:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="mark_type" id="" class="form-control">
                {volist name="type" id="r" key="key"}
                    <option value="{$key-1}" >{$r}</option>
                {/volist}
            </select>
        </div>
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">标签链接:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="linkto" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否搜索热词:</label>
        <div class="col-xs-12 col-sm-8">
            <input  name="ishot" type="radio" value="0" checked="checked">一般词
            <input  name="ishot" type="radio" value="1">搜索热词
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">状态:</label>
        <div class="col-xs-12 col-sm-8">
            <input  name="status" type="radio" value="0" checked="checked">已审核
            <input  name="status" type="radio" value="1">未审核
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
            <a   href="/admin/mark/index" class="btn btn-default btn-embossed">返回</a>
        </div>
    </div>
</form>
